/**
 * 微信小程序配置文件
 */

var host = "https://192.168.191.1:8443/library";
var appid = 'wx08b91786efdfe325';
var secret = '86aa81c545a47631949acaaa1a7b3893';
var config = {
    host,
    appid,
    secret,
    openIdUrl:'https://api.weixin.qq.com/sns/jscode2session',
    // 登录地址，用于建立会话
    loginUrl: `${host}/login`,

    // 注册的请求地址，用于测试会话
    registerUrl: `${host}/register`,

    searchBookUrl: `${host}/searchBook`,

};

module.exports = config
